package com.nopay.cdxphone;

/**
 * @ProjectName: myVisualPhone
 * @Package: cn.cn.myvisualphone
 * @ClassName: Constants
 * @Description: java类作用描述
 * @Author: anqi
 * @CreateDate: 2021/5/20 6:19
 * @UpdateUser: 更新者
 * @UpdateDate: 2021/5/20 6:19
 * @UpdateRemark: 更新说明
 * @Version: 1.0
 */
public final class Constants {

//    public static final String HOST = "http://www.changdianxiao.cn:8000/";
    public static final String HOST = "http://43.249.192.38:8000/";
    public static final String HELP_URL = HOST + "head/course/instructions.html";

    public static final String APK_URL = HOST + "apk/cdx.apk";
    public static final String APK_PAGE_URL = HOST + "head/cdx/index.html";
    public static final String WX_APP_KEY = "wx3d3cf6488ab0bf02";

    public static final String HOME_DIR = "visual_phone";
    public static final String LOG_DIR = "Log";
    public static final String PHOTO_DIR = "Photo";
    public static final String CRASH_DIR = "Crash";
//    public static final String BASE_URL = "http://www.changdianxiao.cn:8910/";
    public static final String BASE_URL = "http://43.249.192.38:8910/";
    //图片验证码
    public static final String CAPTCHA_IMAGE_URL = BASE_URL + "captchaImage";
    public static final String RESULT_OK = "200";
    public static final String SP_DEVICE_ID = "sp_device_id";
    public static final String SP_IS_REMEMBER = "is_remember";
    public static final String SP_REMEMBER = "sp_remember";
    public static final String SP_USER_ID = "sp_user_id";
    public static final String SP_USER_NAME = "sp_user_name";
    public static final String SP_PHONE = "sp_phone";
    public static final String SP_HEAD_URL = "sp_head_url";
    public static final String SP_COMPANY_NAME = "sp_company_name";
    public static final String SP_VIP_STATUS = "sp_vip_status";
    public static final String SP_VIP_LEVEL = "sp_vip_level";
    public static final String SP_VIP_INVALID_TIME = "sp_vip_invalid_time";
    public static final String SP_ACCOUNT_CREATE_TIME = "sp_account_create_time";
    public static final String SP_SIM1 = "sp_sim1";
    public static final String SP_SIM2 = "sp_sim2";
    public static final String SP_IS_SIM1 = "sp_is_sim1";

    public static final String SP_IS_AGREE = "sp_is_agree";

    public static final String SP_CALL_TRANSFER_TYPE = "sp_call_transfer_type"; // 呼叫转移类型：1是遇忙转移, 2是全部转移, 3是双卡呼转
    public static final String SP_CALL_SIM_INDEX = "sp_call_sim_index"; // 外呼SIM: 0指SIM卡1, 1指SIM卡2
    public static final String SP_SIM_PHONE_NUMBER = "sp_sim_phone_number"; // SIM号码, 进行呼叫转移拨号拨打的号码
    public static final String SP_SIM_TELECOM = "sp_sim_telecom"; // 是否为电信
    public static final String SP_SIM1_PHONE_NUMBER = "sp_sim1_phone_number"; // SIM卡1号码
    public static final String SP_SIM2_PHONE_NUMBER = "sp_sim2_phone_number"; // SIM卡2号码
    public static final String SP_CALL_TRANSFER_TIME_OUT = "sp_call_transfer_time_out"; // 呼叫转移设置超时
    public static final String SP_ENABLED_CALL_TRANSFER = "sp_enabled_call_transfer"; // 呼叫转移开启状态

    public static final String SP_AUTO_CALL_DELAY = "sp_auto_call_delay"; // 自动拨号延迟

    public static final String SP_USER_FROM_LOGIN = "sp_user_from_login";
    public static final String SP_ACCOUNT = "sp_account"; // 账号
    public static final String SP_PASSWORD = "sp_password"; // 密码
    public static final String SP_DEVICE_SERIAL = "sp_device_serial"; // 设备序列号

    public static final String SP_USER_TIMES = "sp_user_times"; // 使用次数

    /**
     * AES加密的key
     */
    public static final String AES_KEY = "plokmijnuhbygvtf";
    /**
     * 分割符号
     */
    public static final String SPLITE_SIGN = "●";
    /**
     * 加密字符串字符集
     */
    public static final String CAHRSET = "utf-8";

    public static final int REQ_OPEN_FILE = 1;
    public static final int REQ_OPEN_WECHAT = 2;
    public static final int REQ_CALL_TASK_DELETE = 3;

    public static final String EX_WECHAT = "ex_wechat";
    public static final String EX_CALL_SET_NAME = "ex_call_set_name";
    public static final String WECHAT_FILE_NAME = "wechat_file_name";
    public static final String FILE_IMPORT_TASK_NAME = "file_import_task_name";

    public static final String CALL_TASK = "call_task";
    public static final String _CALL_TASK_GROUP = "CALL_TASK_GROUP";

    public static final int PRE_PAGE = 10;
    /**
     * 闪屏时间
     */
    public static final int SPLASH_TIME = 500;

    public static final int CALL_TRANSFER_DEFAULT_TIME_OUT = 5; // 呼叫转移默认超时3s
    public static final int CALL_TRANSFER_AUTO_DEFAULT_TIME_OUT = 10; // 呼叫转移自动拨号默认超时10s


}
